package com.xueyi.system.harvestManager.domain.po;

import java.time.LocalDateTime;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.xueyi.common.core.web.tenant.base.TBaseEntity;
import com.xueyi.system.harvestManager.domain.dto.HarvestManagerDto;
import com.baomidou.mybatisplus.annotation.TableField;
import com.xueyi.common.core.annotation.Excel;

/**
 * 采收管理 持久化对象
 *
 * @author zlf
 */
@TableName(value = "base_harvest_manager", excludeProperty = {"name", "sort"})
public class HarvestManagerPo extends TBaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 采收名称
     */
    @Excel(name = "采收名称")
    @TableField("harvest_name")
    private String harvestName;

    /**
     * 采收编码
     */
    @Excel(name = "采收编码")
    @TableField("harvest_code")
    private String harvestCode;

    /**
     * 产品名称
     */
    @Excel(name = "产品名称")
    @TableField("product_name")
    private String productName;

    /**
     * 产品编码
     */
    @Excel(name = "产品编码")
    @TableField("product_id")
    private String productId;

    /**
     * 采收地块名称
     */
    @Excel(name = "采收地块名称")
    @TableField("harvest_place_name")
    private String harvestPlaceName;

    /**
     * 采收地块编码
     */
    @Excel(name = "采收地块编码")
    @TableField("harvest_place_code")
    private String harvestPlaceCode;

    /**
     * 采收部位
     */
    @Excel(name = "采收部位")
    @TableField("harvest_part")
    private String harvestPart;

    /**
     * 采收天气
     */
    @Excel(name = "采收天气")
    @TableField("harvest_weather")
    private String harvestWeather;

    /**
     * 所属基地id
     */
    @Excel(name = "种植记录id")
    @TableField("plant_id")
    private String plantId;

    /**
     * 所属基地名称
     */
    @Excel(name = "种植记录名称")
    @TableField("plant_name")
    private String plantName;

    /**
     * 负责人
     */
    @Excel(name = "负责人")
    @TableField("principal_user_id")
    private String principalUserId;

    /**
     * 负责人
     */
    @Excel(name = "负责人")
    @TableField("principal_user")
    private String principalUser;

    /**
     * 联系方式
     */
    @Excel(name = "联系方式")
    @TableField("contact_details")
    private String contactDetails;

    /** 采收开始日期 */
    /**
     * 采收开始日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @Excel(name = "采收开始日期", width = 30, dateFormat = "yyyy-MM-dd")
    @TableField("start_time")
    private LocalDateTime startTime;

    /**
     * 采收结束日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @Excel(name = "采收结束日期", width = 30, dateFormat = "yyyy-MM-dd")
    @TableField("end_time")
    private LocalDateTime endTime;

    /**
     * 采购图片
     */
    @Excel(name = "采购图片")
    @TableField("purchasing_pictures")
    private String purchasingPictures;

    /**
     * 单位名称
     */
    @Excel(name = "单位名称")
    @TableField("unit_name")
    private String unitName;

    /**
     * 采收工具
     */
    @Excel(name = "采收工具")
    @TableField("harvest_tool")
    private String harvestTool;

    /**
     * 使用数量
     */
    @Excel(name = "使用数量")
    @TableField("harvest_num")
    private String harvestNum;


    /**
     * 采收方法
     */
    @Excel(name = "采收方法")
    @TableField("harvest_method")
    private String harvestMethod;

    /**
     * 复核人
     */
    @Excel(name = "复核人")
    @TableField("checker")
    private String checker;

    /**
     * 采收日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @Excel(name = "采收日期", width = 30, dateFormat = "yyyy-MM-dd")
    @TableField("harvest_date")
    private LocalDateTime harvestDate;

    /**
     * 数量
     */
    @Excel(name = "数量")
    @TableField("num")
    private Integer num;

    /**
     * 状态(1启用 2停用)
     */
    @Excel(name = "状态(1启用 2停用)")
    @TableField("status")
    private String status;


    /**
     * 审核人
     */
    @TableField(value = "checker_user")
    private String checkerUser;

    /**
     * 审核人
     */
    @TableField(value = "check_code")
    private String checkCode;

    public String getCheckerUser() {
        return checkerUser;
    }

    public void setCheckerUser(String checkerUser) {
        this.checkerUser = checkerUser;
    }

    public String getCheckCode() {
        return checkCode;
    }

    public void setCheckCode(String checkCode) {
        this.checkCode = checkCode;
    }

    public String getHarvestTool() {
        return harvestTool;
    }

    public void setHarvestTool(String harvestTool) {
        this.harvestTool = harvestTool;
    }

    public String getHarvestNum() {
        return harvestNum;
    }

    public void setHarvestNum(String harvestNum) {
        this.harvestNum = harvestNum;
    }

    public String getHarvestMethod() {
        return harvestMethod;
    }

    public void setHarvestMethod(String harvestMethod) {
        this.harvestMethod = harvestMethod;
    }

    public String getChecker() {
        return checker;
    }

    public void setChecker(String checker) {
        this.checker = checker;
    }

    public LocalDateTime getHarvestDate() {
        return harvestDate;
    }

    public void setHarvestDate(LocalDateTime harvestDate) {
        this.harvestDate = harvestDate;
    }

    public String getHarvestPart() {
        return harvestPart;
    }

    public void setHarvestPart(String harvestPart) {
        this.harvestPart = harvestPart;
    }

    public String getHarvestWeather() {
        return harvestWeather;
    }

    public void setHarvestWeather(String harvestWeather) {
        this.harvestWeather = harvestWeather;
    }

    public String getPrincipalUserId() {
        return principalUserId;
    }

    public void setPrincipalUserId(String principalUserId) {
        this.principalUserId = principalUserId;
    }

    public void setHarvestName(String harvestName) {
        this.harvestName = harvestName;
    }

    public String getHarvestName() {
        return harvestName;
    }

    public void setHarvestCode(String harvestCode) {
        this.harvestCode = harvestCode;
    }

    public String getHarvestCode() {
        return harvestCode;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductId(String productCode) {
        this.productId = productCode;
    }

    public String getProductId() {
        return productId;
    }

    public void setHarvestPlaceName(String harvestPlaceName) {
        this.harvestPlaceName = harvestPlaceName;
    }

    public String getHarvestPlaceName() {
        return harvestPlaceName;
    }

    public void setHarvestPlaceCode(String harvestPlaceCode) {
        this.harvestPlaceCode = harvestPlaceCode;
    }

    public String getHarvestPlaceCode() {
        return harvestPlaceCode;
    }

    public void setPrincipalUser(String principalUser) {
        this.principalUser = principalUser;
    }

    public String getPrincipalUser() {
        return principalUser;
    }

    public void setContactDetails(String contactDetails) {
        this.contactDetails = contactDetails;
    }

    public String getContactDetails() {
        return contactDetails;
    }

    public void setStartTime(LocalDateTime startTime) {
        this.startTime = startTime;
    }

    public LocalDateTime getStartTime() {
        return startTime;
    }

    public void setEndTime(LocalDateTime endTime) {
        this.endTime = endTime;
    }

    public LocalDateTime getEndTime() {
        return endTime;
    }

    public void setPurchasingPictures(String purchasingPictures) {
        this.purchasingPictures = purchasingPictures;
    }

    public String getPurchasingPictures() {
        return purchasingPictures;
    }

    public void setUnitName(String unitName) {
        this.unitName = unitName;
    }

    public String getUnitName() {
        return unitName;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public Integer getNum() {
        return num;
    }

    @Override
    public void setStatus(String status) {
        this.status = status;
    }

    @Override
    public String getStatus() {
        return status;
    }

    public String getPlantId() {
        return plantId;
    }

    public void setPlantId(String plantId) {
        this.plantId = plantId;
    }

    public String getPlantName() {
        return plantName;
    }

    public void setPlantName(String plantName) {
        this.plantName = plantName;
    }
}
